<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Welcome</title>
    </h:head>
    <h:body>
        Welcome #{controller.username}, configura un nuovo processo
        <h:form>
            <table>
                <tr>
                    <td>Ora:</td>
                    <td><h:inputText value="#{controller.hour}"/></td>
                </tr>
                <tr>
                    <td>Minuti:</td>
                    <td><h:inputText value="#{controller.minute}"/></td>
                </tr>
                <tr>
                    <td><h:commandButton value="Conferma" action="#{controller.scheduleProcess()}"/></td>
                    <td><h:commandButton value="Logout" action="#{controller.logout()}"/></td>
                </tr>
            </table>
            Il processo verra eseguito in data: #{controller.next}
        </h:form>
    </h:body>
</html>

